\hypertarget{classduye_1_1_thread_util}{\section{duye\-:\-:Thread\-Util Class Reference}
\label{classduye_1_1_thread_util}\index{duye\-::\-Thread\-Util@{duye\-::\-Thread\-Util}}
}


P\-O\-S\-I\-X thread static A\-P\-I used outside.  




{\ttfamily \#include $<$duye\-\_\-thread.\-h$>$}

\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static int32 \hyperlink{classduye_1_1_thread_util_a6f798f2fdf8a20bc2548c8e760d98cbd}{create\-Thread} (void $\ast$entry, void $\ast$argument, const bool auto\-Rel=true)
\begin{DoxyCompactList}\small\item\em create thread \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
P\-O\-S\-I\-X thread static A\-P\-I used outside. 

\subsection{Member Function Documentation}
\hypertarget{classduye_1_1_thread_util_a6f798f2fdf8a20bc2548c8e760d98cbd}{\index{duye\-::\-Thread\-Util@{duye\-::\-Thread\-Util}!create\-Thread@{create\-Thread}}
\index{create\-Thread@{create\-Thread}!duye::ThreadUtil@{duye\-::\-Thread\-Util}}
\subsubsection[{create\-Thread}]{\setlength{\rightskip}{0pt plus 5cm}static int32 duye\-::\-Thread\-Util\-::create\-Thread (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{entry, }
\item[{void $\ast$}]{argument, }
\item[{const bool}]{auto\-Rel = {\ttfamily true}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_thread_util_a6f798f2fdf8a20bc2548c8e760d98cbd}


create thread 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em entry} & \-: thread entry fucntion pointer \\
\hline
\mbox{\tt in}  & {\em argument} & \-: user data \\
\hline
\mbox{\tt in}  & {\em auto\-Rel} & \-: whether support automatic release, default is yes \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
thread I\-D / -\/1 
\end{DoxyReturn}
\begin{DoxyNote}{Note}

\end{DoxyNote}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Z\-:/duye/src/duyebase/system/\hyperlink{duye__thread_8h}{duye\-\_\-thread.\-h}\end{DoxyCompactItemize}
